import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SharedModule } from '@shared/shared.module';
import { RandomUserService } from './randomUser.service';
import {IndexComponent} from './index.component';
import {ServerSocket} from "@core/services/ws.service";

const routes: Routes = [
    { path: '', component: IndexComponent }
];

@NgModule({
  imports: [
      SharedModule,
      RouterModule.forChild(routes)
  ],
    providers: [ RandomUserService, ServerSocket],
    declarations: [
        IndexComponent
    ],
    exports: [
        RouterModule
    ],
    entryComponents: [

    ]
})
export class IndexModule { }
